package cho114366.basic;

import java.util.Scanner;

public class Book106 {

	@SuppressWarnings("resource")
	public static void main(String[] args) {
		Scanner sc = null;
		
		
		
		
		String a;
		String b;
		a="철수";
		b="영희";
		sc = new Scanner(System.in);
		System.out.println("가위 바위 보 게임입니다. 가위, 바위, 보 중에서 입력하세요");
		System.out.println(a);
		System.out.print(b);
		
		sc.next();
	
		
		
		
		if(sc.equals("가위")){System.out.println("바위");}
		else if(sc.equals("바위"))System.out.println("가위");
		else if(sc.equals("보"))System.out.println("가위");
		else System.out.println("다른 값을 넣으세요");
		
		if(sc.equals(""))System.out.println("바위");
		else if(sc.equals("바위")){System.out.println("가위");}
		else if(sc.equals("보"))System.out.println("가위");
		else System.out.println("다른 값을 넣으세요");
		
	
	
	}

}

